\vec u

\vec v

\vec w

\vec v+\vec w

Si on bouge les vecteur v ou w, on voit que l'aire verte + aire rouge = aire grise (tjs depuis l'axe x=0)

A = Intersect(xAxis, yAxis)
B = (6, 0)
u = Vector(A, B)
C = (7, 3)
v = Vector(A, C)
D = (2, 7)
w = Vector(A, D)
a = Line(D, v)
b = Line(C, w)
E = Intersect(b, a)
z = Vector(A, E)
c = Circle(A, B)
d = OrthogonalLine(A, u)
e = Line(C, d)
f = Line(D, d)
g = Line(E, d)
F, G = Intersect(c, d)
h = OrthogonalLine(G, d)
H = Intersect(f, h)
I = Intersect(e, h)
J = Intersect(g, h)
i = Line(A, B)
K = Intersect(i, f)
L = Intersect(e, i)
M = Intersect(g, i)
poly1, a_1, k, h_1, g_1 = Polygon(A, K, H, G)
poly2, a_2, l, i_1, g_2 = Polygon(A, L, I, G)
j = Segment(D, E)
m = Segment(E, C)
poly3, a_3, m_1, j_1, g_3 = Polygon(A, M, J, G)
prscaluv: u * v
texte3: "\vec v \cdot \vec u =  " + (LaTeX[prscaluv]) + ""
prscaluw: u * w
texte2: "\vec w \cdot \vec u = " + (LaTeX[prscaluw]) + ""
prscaluwplusu: u * (w + v)
texte4: "(\vec w+ \vec v ) \cdot \vec u =  " + (LaTeX[prscaluwplusu]) + ""